Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding github actions for CI. #19

Merged
merged 9 commits into from
Jun 13, 2023
Merged

Adding github actions for CI. #19

merged 9 commits into from
Jun 13, 2023

Conversation

sfdctaka
Copy link
Collaborator

No description provided.

@sfdctaka sfdctaka requested a review from a team as a code owner June 13, 2023 16:24
Comment on lines 18 to 23
# Commenting below until code coverage story is done
# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v3
# with:
# files: reports/coverage/*.json
# flags: frontend,backend
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VSCode extension has code coverage that's not as straight forward and being worked on it now. Until that story is closed commenting out the lines. npm run compile should be npm run test instead too.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we have to check in with the powers that be about what we are and are not allowed to use for code coverage services too. IIRC it may not be copacetic to use codecov anymore? But I don't remember for sure.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@khawkins I'll investigate.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@khawkins I was studying this repo and they don't use Codecov. Instead it looks like they are using jest-coverage. The codecov in my PR comes from lwc-dev-mobile, fyi.

Since I am still investigating how to run code coverage for VSCode extension I want to propose we delete the comment in my code. That way there won't be any confusion later with Codecov. I'll add a task for coverage here once my investigation is done. Will that work with you?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, that seems like a fine idea to me.

@khawkins
Copy link
Collaborator

With regards to linting failures like this one: why is it reporting both before and after the offending line?

@sfdctaka
Copy link
Collaborator Author

@khawkins Linting locally produces warning once. Gonna investigate.
image

@sfdctaka
Copy link
Collaborator Author

@khawkins For linting I can't find why github is double counting and reporting before and after. So I fixed the lint warning. @dbreese has done the same thing too in his other PR for l10n.

@sfdctaka sfdctaka merged commit 1c5b423 into main Jun 13, 2023
16 checks passed
@sfdctaka sfdctaka deleted the ci branch June 13, 2023 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants